#This file will load the global variables for the program.
#TODO add exceptions to all the methods
def loadConfigs:
    #open the configuration file
    configFile = open("config.ini")
    
    #initialize globals dictionary
    globals = {}
    
    for line in configFile:
        if line[0] != '#':
            tempTuple = line.split("=")         #split values and variables
            value = tempTuple[1]                
            globals[tempTuple[0]] = value[:-1]  #remove \n from the value string  
            
    #close the configuration file
    configFile.close()